System for the routing of data to computer networks

ABSTRACT

The system (S) for the routing of data to computer networks comprises: a server unit (SRV) connected to a public network (I); a local area network (Prop. LAN 1, . . . , Prop. LAN m) having at least a client device (CL 1,  . . . , CLn); a routing unit (FW 1, . . . ,  FWm) having a first network interface (eth0) connected to the public network (I) directly or indirectly through a local area network of third parties (3p LAN 1, . . . , 3p LAN m) and having a second network interface (eth1) connected to the local area network (Prop. LAN 1, . . . , Prop. LAN m); wherein to the first network interface (eth0) is assigned a public IP address or a private IP address determined by the local area network of third parties (3p LAN 1, . . . , 3p LAN m); and wherein to the local area network (Prop. LAN 1, . . . , Prop. LAN m) is assigned a predefined class of private IP addresses; wherein routing unit (FW 1, . . . ,  FWm) comprises automatic routing means (VM 0 ) of data between the server unit (SRV) and the local area network (Prop. LAN 1, . . . , Prop. LAN m) independently of the IP address assigned to the first network interface (eth0).

TECHNICAL FIELD

The present invention relates to a system for the routing of data to computer networks.

BACKGROUND ART

The increasingly stronger need exists to connect an application on a client computer to an application on a remote server through the conventional Internet.

Generally, the connection has a series of common features:

-   -   the traffic generated by the two applications uses standard         level-4 protocols of the so-called ISO/OSI model, typically TCP         (Transmission Control Protocol) or UDP (User Datagram Protocol)         protocols;     -   to each application (or service) is statically associated a         different port (socket), which enables several         processes/applications to activate multiple TCP/UDP connections         despite sharing the same IP address;     -   access to the Internet by components or apparatus is of the         indirect type.

This implies that the assigned IP address is not public, but rather belongs to a sub-network to which the apparatus is connected and is therefore a private and not univocal address in the space of addresses assigned in the Internet.

Within the sub-network, the use is known and common of an electronic component/apparatus, a so-called router suitable for routing data towards distinct networks and, in particular, suitable for managing all the requests towards public IP addresses.

Within the networks, also managed is the filtering of communications according to the IP address, to the TCP/UDP port number, besides the plaintext of the communication.

The filtering done by the firewall can be more or less stringent depending on the level of computer security envisaged for the specific sub-network.

Considering the need to connect an application p on a client computer to an application present on a remote server through the conventional Internet, and in general the need to interconnect different client apparatus/components, a number of complexities are therefore to be found.

The client apparatus/components can in fact have the following characteristics: private IP address and therefore not univocal;

the requests towards public IPs are routed by a third-party gateway present on the same network;

the third-party firewall may not allow routing packages tied to .a number of ports and/or effecting filtering according to the contents of the packages;

the third-party firewall may not send the requests coming from outside towards a client present in its sub-network.

To overcome such drawbacks and allow the complete control of the client, communication systems of the VPN (Virtual Private Network) type are normally used, which make it possible to establish a private connection between two apparatuses, more specifically between client and server, using a shared public network.

In particular, a number of VPN programs, such as, e.g., OpenVPN, permit implementing tunnelling, i.e., the channelling of all the TCP/UDP connections on different ports routed onto a single port, e.g., the more common 80 TCP/IP port, thus in fact resolving the problem of filtering effected by a third-party firewall and the routing of the packages from and to the client.

As FIG. 1 schematically shows, the use of a VPN type system envisages the assigning on the server of an IP address for one end of the tunnels (srvtun1) and the assigning of a different IP address on each client for every other end of the tunnels (tun1-tunn).

As shown in FIG. 1, always by way of example, in this configuration, the possibility exists that the network interface (eth0) of the client (client 1) connected to a LAN (3p LAN 1) be assigned an IP address identical to that preset for the tunnel (tun1), with consequent forwarding problems.

In fact, in such case, the private IP address assigned to the network interface (eth0) is assigned dynamically by the DHCP service of the private network (3p LAN 1) and can belong to any class of private IP addresses.

In particular, the three classes of private IP addresses are, respectively:

-   -   class A 10.x.x.x addresses, with IP addresses from 10.0.0.0 to         10.255.255.255;     -   class B 172.x.x.x addresses, with IP addresses from 172.16.0.0         to 172.31.255.255;     -   class C 192.168.x.x addresses, with IP addresses from         192.168.0.0 to 192.168.255.255.

To overcome such drawback, the intervention is therefore required of the network administrator who, after checking the fault, must change the assigned IP addresses in a manual and static way.

DESCRIPTION OF THE INVENTION

The main aim of the present invention is to provide a system for the routing of data to computer networks which ensures the correct routing of the data between devices belonging to different sub-networks, connected to the Internet both directly and indirectly, in a fully automatic way and without the need for the manual configuration of the routed data.

Another object of the present invention is to provide a system for the routing of data to computer networks that allows to overcome the mentioned drawbacks of the prior art in the ambit of a simple, rational, easy and effective to use as well as low cost solution.

The above mentioned objects are achieved by the present system for the routing of data to computer networks according to claim 1.

BRIEF DESCRIPTION OF THE DRAWINGS

Other characteristics and advantages of the present invention will become more evident from the description of a preferred, but not exclusive, embodiment of a system for the routing of data to computer networks, illustrated by way of an indicative, but not limitative example in the accompanying drawings in which:

FIG. 2 is a bloc diagram showing the system according to the invention as a whole;

FIG. 3 is a bloc diagram showing in greater detail a routing unit, of the type of a firewall/router, belonging to the system according to the invention;

FIGS. 4 to 7 schematically show different possible forwarding which can be made through the routing unit of FIG. 2;

FIG. 8 shows a second possible embodiment of the system according to the invention;

FIG. 9 shows a possible first virtual routing table implementable within the routing unit of FIG. 8;

FIG. 10 shows a possible second routing table implementable within the routing unit of FIG. 8.

EMBODIMENTS OF THE INVENTION

With particular reference to such illustrations, by S a system has been globally indicated for the routing of data to computer networks, able to allow the automatic interlinking of different client devices or components connected to different private proprietary networks directly or indirectly connected to the Internet by means of networks of third parties.

In particular, as schematically shown in FIG. 2, the system S comprises:

-   -   a server unit SRV connected to a public network I, consisting         e.g. of the conventional Internet;     -   a plurality of proprietary local area networks, indicated by the         wording Prop. LAN 1, . . . , Prop. LAN m, having respective         client devices CL1, . . . , CLn;     -   a plurality of routing units FW1, . . . , FWm, consisting of         suitable components and/or devices, connected to respective         proprietary local area networks and connected to the public         network I through respective local area networks of third         parties 3p LAN 1, . . . , 3p LAN m.

Different architectures of the system S cannot however be ruled out wherein, e.g., some or all the routing units FW1, . . . , FWm are directly connected to the public network I.

The local area networks of third parties 3p LAN 1, . . . , 3p LAN m can consist, e.g., of respective WANs (Wide Area Networks) extending inside a determinate geographic area, e.g., inside different municipality areas.

The routing units FW1, . . . , FWm consist of respective proprietary firewalls/routers and are crucial for the management of each of the proprietary local area networks.

In particular, each of the routing units FW1, . . . , FWm has a first network interface eth0 connected to the public network I through a respective local area network of third parties 3p LAN 1, . . . , 3p LAN m.

Furthermore, each of the routing units FW1, . . . , FWm has a second network interface eth1 connected to a respective local area network Prop. LAN 1, . . . , Prop. LAN m.

Usefully, each of the routing units FW1, . . . , FWm has a third network interface connected to the server unit SRV through a private connection VPN (Virtual Private Network).

Such private connection VPN is preferably made by means of Open VPN or other tunnelling solution on an identified port free to communicate on networks of third parties.

Each routing unit FW1, . . . , FWm (firewall/router) is able to manage:

-   -   a private IP address not previously known on the first network         interface eth0, which can belong to any class of private IP         addresses and which, e.g., can be assigned dynamically by a         service DHCP of the respective local area network of third         parties;     -   the IP routing of client devices CL1, . . . , CLn belonging to         proprietary local area networks connected to the second network         interface eth1;     -   one or more IP addresses relating to one or more third network         interfaces tun1 dedicated to the tunnels VPN;     -   the routing of other client devices CL1 . . . , CLn belonging to         other proprietary local area networks.

Advantageously, each routing unit FW1, . . . , FWm comprises automatic routing means VM0, consisting of a suitable component or device, suitable for routing the data between the server unit SRV and the respective local area network Prop. LAN 1, . . . , Prop. LAN m, independently of the IP address assigned to the respective first network interface eth0.

This way, each routing unit FW1, . . . , FWm ensures the correct routing of the data between client devices belonging to different local area networks, connected to the Internet either directly or indirectly, in a completely automatic way and without the need for manual configurations of the routing information. With reference to a preferred embodiment, the automatic routing means VM0 are implemented by means of a virtual machine operatively placed between the first network interface eth0 and the second network interface eth1.

In particular, the virtual machine VM0 consists of a software made specifically for data forwarding/routing.

Different embodiments cannot however be ruled out wherein, e.g., the automatic routing means are implemented by means of one or more hardware devices and/or software programs distinct and separate with respect to the firewall/router.

In particular, each virtual machine VM0 comprises at least a first virtual network interface eth0′ connected to the first network interface eth0.

Moreover, each routing unit FW1, . . . , FWm comprises a dummy network interface dummy0 and each virtual machine VM0 comprises a second virtual network interface eth1′ connected to such dummy network interface dummy0.

Each virtual machine VM0 comprises a virtual routing table RT0 containing information on the forwarding of data towards the first and the second virtual network interface eth0′ and eth1′.

Moreover, each routing unit FW1, . . . , FWm Comprises a routing table RT1 containing information on the forwarding of data towards the second network interface eth1, the third network interface tun1 and the dummy network interface dummy0.

Advantageously, the IP address of said first virtual network interface eth0′ corresponds to the IP address of the first network interface eth0.

Moreover, the virtual machine VM0 comprises determination means M suitable for determining an IP address to be assigned to the second virtual network interface eth1′ according to the IP address of the first virtual network interface. Preferably, the determination means are implemented by means of a suitable software algorithm.

In particular, the IP address of the second virtual network interface eth1′:

-   -   belongs to a different class of IP addresses than the class of         IP addresses of the IP address of the first virtual network         interface eth0′;     -   does not coincide with any of the IP addresses assignable to the         respective local area network Prop. LAN 1, . . . , Prop. LAN m.

Furthermore, the software algorithm M is suitable for determining an IP address to be assigned to the dummy network interface dummy0 according to the IP address of the first virtual network interface eth0′.

In particular, the IP address of the dummy network interface dummy0:

-   -   belongs to a different class of IP address than the IP address         class of the first virtual network interface eth0′;     -   does not coincide with any of the IP addresses assignable to         said local area network.

Preferably, the software algorithm M programs a server DHCP to assign the determined IP address to the dummy network port dummy0.

With reference to a preferred embodiment of the system S, a specific and predefined class of IP addresses is used for the routing of all the local area networks Prop. LAN 1, . . . , Prop. LAN m.

For example, the IP addresses of class C from 192.168.x.0 to 192.168.x.255 can be used for each proprietary local area network.

Always with reference to a preferred embodiment of the system S, a specific and predefined class of IP addresses is used for the routing of the tunnels VPN by means of the third network interfaces tun1.

For example, the IP addresses of class B from 172.16.0.0 to 172.31.255.255 can be used for each interface of the tunnels VPN.

During the operation of system S, each routing unit FW1, . . . , FWm is able to manage any dynamic IP assignment on the first network interface eth0 connected to the local area network of third parties.

The figures from 4 to 7 schematically show different possible forwarding that can be made by means of each routing unit FW1, . . . , FWm.

In the example in FIG. 4 to the first network interface eth0 is assigned a class A address 10.4.247.106.

The first virtual network interface eth0′ of the virtual machine VM0 in the routing unit FW1 takes the same address as eth0, therefore the class A address 10.4.247.106.

The software algorithm M implemented in the virtual machine VM0 assigns the class C address C 192.169.200.254 to the second virtual network interface eth1′ and programs a server DHCP to assign the class C address 192.169.200.2 to the dummy network interface dummy0 of the routing unit FW1.

To the third network interface tun1, intended for communication by tunnel VPN, remains assigned a class B address, e.g., 172.18.1.2.

To the second network interface eth1, connected to the proprietary local area network, remains assigned a class C address, e.g., 192.168.2.1.

In particular, the second network interface eth1 can dynamically and statically manage all the space of class C addresses, from 192.168.0.0 to 192.168.255.255, except for the addresses 192.168.200.254 and 192.168.200.2 dedicated to the interfaces eth1′ and dummy0, thus making it possible to route all the clients of the proprietary local area network.

In the example in FIG. 5 to the first network interface eth0 is assigned a class B address 172.16.247.106.

The first virtual network interface eth0′ of the virtual machine VM0 in the routing unit FW1 takes the same address as eth0, therefore the class B address 172.16.247.106.

The software algorithm M implemented in the virtual machine VM0 assigns the class C address 192.169.200.254 to the second virtual network interface eth1′ and programs a server DHCP to assign the class C address 192.169.200.2 to the dummy network interface dummy0 of the routing unit FW1.

To the third network interface tun1, intended for communication by tunnel VPN, remains assigned a class B address, e.g., 172.18.1.2.

To the second network interface eth1, connected to the proprietary local area network, remains assigned a class C address, e.g., 192.168.2.1.

In particular, the second network interface eth1 can dynamically and statically manage all the space of class C addresses, from 192.168.0.0 to 192.168.255.255, except for the addresses 192.168.200.254 and 192.168.200.2 dedicated to the interfaces eth1′ and dummy0, thus making it possible to route all the clients of the proprietary local area network.

In the example in FIG. 6, to the first network interface eth0 is, assigned a class C address 192.168.247.106.

The first virtual network interface eth0′ of the virtual machine VM0 in the routing unit FW1 takes the same address as eth0, therefore the class C address 192.168.247.106.

The software algorithm M implemented in the virtual machine VM0 assigns the class B address 172.17.200.254 to the second virtual network interface eth1′ and programs a server DHCP to assign the class C address 172.17.200.2 to the dummy network interface dummy0 of the routing unit FW1.

To the third network interface tun1, dedicated to communication by means of tunnel VPN remains assigned a class B address, e.g. 172.18.1.2.

To the second network interface eth1, connected to the proprietary local area network remains assigned a class C address, e.g., 192.168.2.1.

In particular, the second network interface eth1 can dynamically and statically manage all the space of class C addresses, from 192.168.0.0 to 192.168.255.255, thus making it possible to route all the clients of the proprietary local area network.

In the example in FIG. 7 to the first network interface eth0 is assigned a public address 109.205.109.10.

The first virtual network interface eth0′ of the virtual machine VM0 in the routing unit FW1 takes the same address as eth0, therefore the public address 109.205.109.10.

The software algorithm M implemented in the virtual machine VM0 assigns the class C address 192.169.200.254 to the second virtual network interface eth1′ and programs a server DHCP to assign the class C address 192.169.200.2 to the dummy network interface dummy0 of the routing unit FW1.

To the third network interface tun1, dedicated to communication by means of tunnel VPN remains assigned a class B address, for example 172.18.1.2.

To the second network interface eth1, connected to the proprietary local area network remains assigned a class C address, e.g., 192.168.2.1.

In particular, the second network interface eth1 can dynamically and statically manage all the space of class C addresses, from 192.168.0.0 to 192.168.255.255, except for the addresses 192.168.200.254 and 192.168.200.2 dedicated to the eth1′ and dummy0 interfaces, thus making it possible to route all the clients of the proprietary local area network.

In practice, in each of the examples described above, the class C addresses always remain free and usable for the proprietary local area. networks Prop. LAN 1, . . . , Prop. LAN m.

To allow the connection of two client units of two different proprietary local area networks through the tunnels VPN, each of the routing units FW1, . . . , FWm comprise mapping means, implemented by means of one or more network mapping rules stored inside the routing unit itself, suitable for associating the class A addresses with the other proprietary local area networks.

As is known, the class A addresses go from 10.x.x.x to 10.255.255.255 and, therefore, this allows having at disposal 256*256*256 addresses.

Preferably, the second and the third available fields of each IP address of class A are intended to identify the routing units FW1, . . . , FWm, while the third available field is intended to identify each client unit CL1, . . . , CLn inside the specific proprietary local area network Prop. LAN 1, . . . , Prop. LAN m.

In particular, according to a preferred but not exclusive embodiment of the system S, the aforementioned mapping rules associate the class C addresses associated with each client unit CL1, . . . , CLn inside a proprietary local area network with the class A addresses in the following way:

192.168.x.2 corresponds to 10.<firewall field number 1>.<firewall field number 2>.x.

For example:

192.168.1.2 corresponds to 10.200.2.1;

192.168.2.2 corresponds to 10.200.2.2;

192.168.3.2 corresponds to 10.200.2.3;

192.168.4.2 corresponds to 10.200.2.4;

192.168.5.2 corresponds to 10.200.2.5.

With particular reference to an alternative embodiment of the system S schematically shown by way of example in FIG. 8, the use is envisaged of ULAN (Virtual LAN) networks connected to one or more network switches SW.

Such particular embodiment permits safely managing the connection between the client unit of the same proprietary local area network, forcing their communication towards the firewall FW.

Furthermore, a univocal association is defined between each port number of the network switch SW and the IP address assigned to such port.

In particular, each IP address of the 192.168.x.2 type corresponds to the apparatus connected to the port x.

For example:

192.168.11 corresponds to the apparatus connected to port 1;

192.168.2.2 corresponds to the apparatus connected to port 2;

192.168.3.2 corresponds to the apparatus connected to port 3;

192.168.4.2 corresponds to the apparatus connected to port 4;

192.168.5.2 corresponds to the apparatus connected to port 5.

Furthermore, by way of example only, the FIGS. 9 and 10 show possible routing tables of the system S.

In particular, FIG. 9 shows possible routing information stored inside a virtual routing table RT0 of a virtual machine VM0 of the system S.

FIG. 10 on the other hand shows possible routing information stored inside an routing table RT1 of a routing unit FW1, . . . FWm of the system S.

It has in fact been ascertained how the described invention achieves the proposed objects. 

1) System (S) for the routing of data to computer networks, comprising: at least a server unit (SRV) connected to a public network (I); at least a local area network (Prop. LAN 1, . . . , Prop. LAN m) having at least a client device (CL1, . . . , CLn); at least a routing unit (FW1, . . . , FWm) having a first network interface (eth0) connected to said public network (I) directly or indirectly through a local area network of third parties (3p LAN 1, . . . , 3p LAN m) and having at least a second network interface (eth1) connected to said local area network (Prop. LAN 1, . . . , Prop. LAN m); wherein to said first network interface (eth0) is assigned a public IP address or a private IP address determined by said local area network of third parties (3p LAN 1, . . . , 3p LAN m); and wherein to said local area network (Prop. LAN 1, . . . , Prop. LAN m) is assigned at least a predefined class of private IP addresses; wherein said routing unit (FW1, . . . , FWm) comprises automatic routing means (VM0) of data between said at least one server unit (SRV) and said at least one local area network (Prop. LAN 1, . . . , Prop. LAN m) independently of the IP address assigned to said first network interface (eth0). 2) System (S) according to claim 1, wherein said routing unit (FW1, . . . , FWm) comprises at least a third network interface (tun1) connected to said server unit (SRV) through at least a VPN connection. 3) System (S) according to claim 1, wherein said automatic routing means (VM0) comprise at least a virtual machine (VM0) operatively placed between said first network interface (eth0) and said second network interface (eth1). 4) System (S) according claim 3, wherein said virtual machine (VM0) comprises at least a first virtual network interface (eth0′) connected to said first network interface (eth0). 5) System (S) according to claim 4, wherein said routing unit (FW1, . . . , FWm) comprises at least a dummy network interface (dummy0). 6) System (S) according to claim 5, wherein said virtual machine (VM0) comprises at least a second virtual network interface (eth1′) connected to said dummy network interface (dummy0). 7) System (S) according to claim 6, wherein said virtual machine (VM0) comprises at least a virtual routing table (RT0) containing information on the forwarding of data to said first and second virtual network interfaces (eth0′, eth1′). 8) System (S) according to claim 4, wherein the IP address of said first virtual network interface (eth0′) corresponds to said IP address of the first network interface (eth0). 9) System (S) according to claim 6, wherein said virtual machine (VM0) comprises determination means (M) suitable for determining an IP address to be assigned to said second virtual network interface (eth1′) according to said IP address of the first virtual network interface (eth0′), so that: said IP address of the second virtual network interface (eth1′) belongs to a class of IP addresses different to the class of IP addresses of said IP address of the first virtual network interface (eth0′); said IP address of the second virtual network interface (eth1′) does not coincide with any of the IP addresses assignable to said local area network (Prop. LAN 1, . . . , Prop. LAN m). 10) System (S) according to claim 9, wherein said determination means (M) are suitable for determining an IP address to be assigned to said dummy network interface (dummy0) according to said IP address of the first virtual network interface (eth0′), so that: IP address of the dummy network interface (dummy0) belongs to a class of IP addresses different to the class of IP addresses of said IP address of the first virtual network interface (eth0′); IP address of the dummy network interface (dummy0) does not coincide with any of the IP addresses assignable to said local area network (Prop. LAN 1, . . . , Prop. LAN m). 11) System (S) according to claim 5, wherein said routing unit (FW1, . . . , FWm) comprises: at least a third network interlace (tun1) connected to said server unit (SRV) through at least a VPN connection; and at least a routing table (RT1) containing information on the forwarding of data to said second network interface (eth1), said third network interface (tun1) and said dummy network interface (dummy0). 